<template>
	<view class="type-list-box">
		<vanScarch></vanScarch>
		<zb-dropdown-menu style="width: 100%">
			<zb-dropdown-item name="first" :options="option" :value="value1" @change="change1"></zb-dropdown-item>
			<zb-dropdown-item name="two" :options="option1" :value="value2" @change="change1"></zb-dropdown-item>
			<zb-dropdown-item name="three" :options="option2" :value="value2" @change="change1"></zb-dropdown-item>
		</zb-dropdown-menu>
		<view class="detail-list" v-for="(item,index) in typeList">
			<enterprice-item :talentTags="item.talentTags" :title="item.title"
				:imageUrl="item.imageUrl"
				:list="item.list"
				:time="item.time"
				:person="item.person"
				:iconList="item.iconList"
				bgColor= "#F4F5FA"
				></enterprice-item>
		</view>
	</view>
</template>

<script setup>
	import zbDropdownItem from "@/uni_modules/zb-dropdown-menu/components/zb-dropdown-item/zb-dropdown-item.vue"
	import zbDropdownMenu from "@/uni_modules/zb-dropdown-menu/components/zb-dropdown-menu/zb-dropdown-menu.vue"
	import enterpriceItem from "./compont/enterprice-item.vue"
	import vanScarch from "./compont/van-scarch.vue"
	import {
		ref
	} from "vue"
	const value1 = ref(0)
	const value2 = ref("a")
	const option = ref([{
			text: "其他类",
			value: 0
		},
		{
			text: "综合排序",
			value: 1
		},
		{
			text: "活动商品",
			value: 2
		},
	]);
	const option1 = ref([{
			text: "待揭榜的",
			value: "a"
		},
		{
			text: "消费偏好",
			value: "b"
		},
		{
			text: "车辆配置",
			value: "c"
		},
	]);
	const option2 = ref([{
			text: "默认排序",
			value: "a"
		},
		{
			text: "消费偏好",
			value: "b"
		},
		{
			text: "车辆配置",
			value: "c"
		},
	]);
	const typeList = ref([{
			talentTags: [{
				name: 'badgeone'
			}, {
				name: 'badgetwo'
			}, {
				name: 'badgethree'
			}],
			title:
			"王明飞",
			imageUrl: "https://minio.gzryzl.com/huatai/2024-11-12/1731398520518person-bg.png",
			list: ["市级C级人才", "市级劳动模范", "中国青年科技奖获得者"],
			time: "权益分：15343 ",
			person: " TA 在 华海（贵州）工业信息技术...",
			iconList: [{
				name: "个人空间",
				icon: "person"
			}, {
				name: "加为好友",
				icon: "frends"
			}]
		},
		{
			
			title:"贵阳国家高新区社会阶层人士联谊会",
			list: ["社会组织", "3A级"],
			time: "成立于2017年8月10日 ",
			person: "法定代表人：李旋峰 ",
		},
		{
			talentTags: [{
				name: 'badgeone'
			}, {
				name: 'badgetwo'
			}, {
				name: 'badgethree'
			}],
			title:
			"李一飞"
		},
		{
			
			title:"李畅",
			list: ["贵州省工程系列大数据专业技术职务"],
			time: "贵州省信息中心",
			
			
		}
	])
</script>

<style scoped lang="less">
	.type-list-box {
		.detail-list {
			background-color: #ffffff;
			padding: 40rpx 0;
		}
	}
</style>